<template>
  <div class="layout">
    <transition name="fade" mode="out-in">
      <router-view></router-view>
    </transition>
    <!-- tabbar -->
  </div>
</template>    
<script>
export default {
  data() {
    return {
      
    };
  }
};
</script>
<style lang="less" scoped>
.fade-enter-active,
.fade-leave-active {
  transition: all 0.2s;
}
.fade-enter,
.fade-leave-to {
  opacity: 0;
}
</style>